package com.atdel.oop;


/**
 * @BelongsProject: java_study
 * @BelongsPackage: com.atdel.oop
 * @Author: Del
 * @CreateTime: 2025-02-28  10:02
 * @Description: TODO
 * @Version: 1.0
 */
public class PhoneTest {
    public static void main(String[] args) {

        Phone phone = new Phone();
        phone.setBrand("华为");
        phone.setName("P40");
        phone.setPrice(5999);
        phone.setContact(new String[]{"张三", "李四", "王五", "韦德茂", "马刺", "马刺", "马刺", "马刺", "马刺", "马刺", "马刺"});

        phone.stl();
        phone.sendMessage("张三");

        phone.sendMessage("韦德茂", "人才况鑫");
    }
}
